cmake_minimum_required(VERSION 3.10)
project(MyTests)

find_package(GTest REQUIRED)

add_executable(MyTests my_test.cpp my_library.cpp)  # 包含 my_library.cpp

target_link_libraries(MyTests GTest::GTest GTest::Main)
